You can teach Excalibur about new LaTeX commands and environments that you have defined with the Definitions menu.
If you define a new command with either \newcommand
or
\renewcommand
, you can tell Excalibur about it by selecting the
Edit Commands... item. Enter the name of your command
in the text box, select the number of arguments with the pop-up menu,
and hit the Add button. You can add any number of commands
to the list. Each command in the list is followed by the number of
arguments that Excalibur should ignore. Thus, if you define a command
that has three arguments and you would like Excalibur to spell check the
third argument, tell Excalibur to ignore two arguments.
You can tell Excalibur about new environments in a similar fashion. Use the Edit Environments... menu item. It performs exactly the same as the Edit Commands... item.
You cannot specify the number of arguments for an environment since
Excalibur doesn't need to know this number. If you add an environment
called foo, Excalibur will ignore everything between
\begin{foo}
and \end{foo}
. Thus, the number of
arguments is irrelevant.
Use the Save Definitions... command to save the commands and environments that you have defined to a file. You can read a file that contains command and environment definitions with the Read Definitions... command.
The Clear Definitions command will cause Excalibur to forget about the currently defined definitions.
Excalibur will check the list of user defined commands and environments before checking to see if a command or environment is part of standard LaTeX. Thus, if you change the definition of a standard LaTeX command with
\renewcommandExcalibur will not get confused.